package net.ikenway.springboot.demo.Model.Dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author MasterKenway <zk@ikenway.net>
 * @Description
 * @date Created Date 12/11/2020
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResponseBodyDto implements Serializable {
    private Integer code;
    private String msg;
    private Object data;

    public ResponseBodyDto(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
